package com.universalInterface.lims_interface.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.universalInterface.common.base.BaseEntity;
import com.universalInterface.lims_interface.common.enums.LabTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 实验室信息表
 * </p>
 *
 * @author author
 * @since 2023-12-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("lab_info")
@Schema(name = "LabInfo", description = "实验室信息表")
public class LabInfo extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 5446998660601247160L;

	@Schema(name = "labGuid", description = "实验室唯一标识号")
	@TableField(value = "lab_guid")
	private Long labGuid;

	@Schema(name = "labType", description = "实验室类型。HC：焓差；CY：长运；ZY：噪音；SNL：水能力；RB：热泵；GDW：高低温；GLC：高落差；JZLY：集中冷源")
	@TableField(value = "lab_type")
	private LabTypeEnum labType;

	@Schema(name = "labName", description = "实验室名称")
	@TableField(value = "lab_name")
	private String labName;

	@Schema(name = "labNum", description = "实验室编号")
	@TableField(value = "lab_num")
	private String labNum;

	@Schema(name = "chNum", description = "实验室通道数量")
	@TableField(value = "ch_num")
	private Integer chNum;

}
